#ifndef STATE_MGR_H
#define STATE_MGR_H

class State;

class StateMgr
{
private:
	
	static StateMgr * instance;
	State *currentState;
	State *nextState;

	StateMgr();

public:
	void Update();
	void SwitchState(State* nextState);
	State* GetCurrentState();
	~StateMgr(void);

	static StateMgr* GetInstance();
	void Destroy();
};

#endif